* {
    margin: 0;
    padding: 0;
    list-style: none;
}

//伪减符号元素
%minus {
    content: '-';
    display: inline-block;
    width: 8.2667vw;
    height: 8.5333vw;
    line-height: 8.5333vw;
    text-align: center;
    background-color: #f5f5f5ff;
    color: #ddddddff;
    border: .2667vw solid #ddddddff;
    position: absolute;
    top: -0.2667vw;
}

.web {
    width: 100vw;
    background-color: #e9ecf0ff;
    overflow-x: hidden;
    .product {
        width: 100%;
        //height: 26.6667vw;
        //background-color: white;
        //width: 100vw;
        
        //头部
        .product-header {
            width: 100%;
            height: 14.6667vw;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            img:first-child {
                width: 3.4667vw;
                height: 5.8667vw;
                margin-left: 2.9333vw;
            }

            img:nth-child(2) {
                width: 20.4373vw;
                height: 10.88vw;
            }

            img:last-child {
                width: 4.5333vw;
                height: 4vw;
                margin-right: 4vw;
            }
        }

        //产品
        .product-content {
            background-color: white;
            img {
                width: 100%;
                height: 100vw;
            }

            //价格
            .pice {
                width: 100%;
                height: 25.3333vw;
                padding: 4vw 4vw 4.2667vw;
                box-sizing: border-box;
                border-bottom: .2667vw solid #E9ECF0;

                p:first-child {
                    font-size: 4vw;
                }

                //文字
                .pice-txt {
                    margin-top: 4.2667vw;
                    display: flex;
                    justify-content: space-between;

                    p {
                        display: inline-block;
                        color: #FF734C;
                        font-size: 5.3333vw;
                        font-weight: 600;

                        span {
                            color: #B4BABF;
                            font-size: 3.7333vw;
                            text-decoration: line-through;
                            font-weight: 400;
                        }
                    }

                    span {
                        font-size: 3.2vw;
                        color: #555555ff;
                    }
                }


            }

            //其他
            ul {
                //height: 46.1333vw;
                width: 100%;
                margin-top: 1.3333vw;

                li {
                    width: 100%;
                    height: 12.2667vw;
                    font-size: 3.7333vw;
                    padding: 1.3333vw 4vw 0;

                    span {

                        &:last-child {
                            margin-left: 7.2533vw;
                            display: inline-block;
                            width: 77.28vw;
                            height: 100%;
                            //height: 10.9333vw;
                            line-height: 10.9333vw;
                            border-bottom: .2667vw solid #e9ecf0ff;

                        }
                    }


                }
            }
        }

    }

    //数量
    .number {
        width: 100%;
        height: 16.5333vw;
        background-color: white;
        margin: 2vw 0;
        display: flex;
        align-items: center;
        padding-left: 4vw;
        box-sizing: border-box;
        //数量的加减
        .one {
            width: 12.8vw;
            height: 8.5333vw;
            border-top: .2667vw solid #ddddddff;
            border-bottom: .2667vw solid #ddddddff;
            line-height: 8.5333vw;
            text-align: center;
            position: relative;
            margin-left: 20.8533vw;

            //减
            &::before {

                @extend %minus;
                left: -8.8vw;

            }

            &::after {
                content: '+';
                @extend %minus;
                right: -8.8vw;
            }
        }
    }

    //订单评价
    .evaluate {
        background-color: white;
        padding-bottom: 7.9573vw;
        .top-line {
            width: 100%;
            height: 14.1333vw;
            border-bottom: .2667vw solid #e9ecf0ff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-sizing: border-box;
            padding: 0 8vw 0 4vw;

            span {
                color: #333333ff;
                font-size: 3.2vw;

                &:last-child {
                    color: #333333ff;
                    font-size: 3.2vw;
                }
            }
        }

        ul {
            li {
                border-bottom: .2667vw solid #e9ecf0ff;
              
                
                .user {
                    width: 100%;
                    height: 12vw;
                    padding: 1.3333vw 4vw 0;

                    img {
                        width: 5.3333vw;
                        height: 5.3333vw;
                        margin-right: 4.6667vw;
                        vertical-align: middle;
                    }

                    p {

                        width: 81.8667vw;
                        height: 4.5333vw;
                        opacity: 1;
                        color: #555555ff;
                        font-size: 3.7333vw;
                        display: inline-block;

                        img {
                            float: right;
                        }


                    }
                }

                .txt {

                    margin: 0 4vw 1.6vw;
                    height: 39.6213vw;
                    p {
                        width: 89.6533vw;
                        font-size: 3.7333vw;
                        color: #555555ff;
                        margin-bottom: 2.6667vw;

                        img {
                            display: block;
                            width: 14.7173vw;
                            height: 19.6213vw;
                            margin-bottom: 6.9333vw;
                        }
                    }
                }

                &:last-child {
                    border-bottom: transparent;
                    
                    margin-bottom: 12.2667vw;
                }

            }
        }

        button {
            margin: 0 auto;
            display: block;
            width: 22.4vw;
            height: 7.7333vw;
            line-height: 7.7333vw;
            text-align: center;
            opacity: 1;
            border: .2667vw solid #232628ff;
            background-color: white;
            color: #232628ff;
            font-size: 3.2vw;
        }
    }
    //订单详情
    .detail{
        background-color: white;
        
        p{
            height: 14.1333vw;
            line-height: 14.1333vw;
            margin-left: 4vw;
            

        }
        img{
            width: 100%;
            &:last-child{
                margin-top: 3.2vw;
            }
        }
        
    }
    .back{
        height: 17.3333vw;
        background-color: white;
        width: 100%;
    }
     //屏幕底部购物车
 footer {
    position: fixed;
    background-color: white;
    bottom: 0;
    //top: 0;
    height: 13.3333vw;
    width: 100vw;
    display: flex;
    
    .left {
        flex: 1;
        height: 13.3333vw;
        font-size: 3.2vw;
        display: flex;

        a {
            margin-top: 1.0667vw;
            color: black;
            text-decoration: none;
            flex: 1;
            text-align: center;
            border-right: .2667vw solid #e9ecf0ff;
            // background-color: white;
        }
    }

    .right {
        flex: 1;
        height: 13.3333vw;

        display: flex;

        button {
            border: transparent;
            flex: 1;
            color: white;

            &:first-child {
                background-color: #3d4d42ff;
            }

            &:last-child {
                background-color: #ff734cff;
            }
        }
    }
}
   
}
